package com.ice.work.moment.facade.ticket.mapper;

import com.honeybee.cloud.framework.common.mapper.BaseCovertMapper;
import com.ice.work.moment.facade.ticket.dto.StationDTO;
import com.ice.work.moment.facade.ticket.model.Station;
import com.ice.work.moment.facade.ticket.vo.StationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.Collection;
import java.util.List;

/**
 * @Description StationConvertMapper
 * @Author DELL
 * @Create 2019-01-09
 * @Since 1.0.0
 */
@Mapper
@SuppressWarnings("all")
public interface StationConvertMapper extends BaseCovertMapper {
    StationConvertMapper INSTANCE = Mappers.getMapper(StationConvertMapper.class);

    /**
     * toDTO
     *
     * @param station
     * @return
     */
    StationDTO toDTO(Station station);
    /**
     * toDTO
     *
     * @param station
     * @return
     */
    List<StationDTO> toDTO(Collection<Station> station);
    /**
     * toVO
     *
     * @param station
     * @return
     */
    List<StationVO> toVO(Collection<StationDTO> station);
    /**
     * toVO
     *
     * @param stationDTO
     * @return
     */
    StationVO toVO(StationDTO stationDTO);
}
